﻿@model App.Web.Models.RegistViewModel
@{
    ViewBag.Title = "Register";
    Layout = "~/Views/Shared/_RootLayout.cshtml";
}
<div class="signup">
    <h3>
        企业会员注册<span><a href="#">网站资费</a></span></h3>
    <div class="need_write">
        <img src="@Url.Content("~/Content/images/need_img.jpg")" alt="必须项" /><span>=必须项</span></div>
    @using (Html.BeginForm("Register", "Home", FormMethod.Post))
    {
    <table cellpadding="0" cellspacing="0" class="register_table">
        <tr>
            <td align="right">
                用户名：
            </td>
            <td>
                @Html.TextBoxFor(x => x.Recruiter.UserName, new { Class = "need_input" })
            </td>
        </tr>
        <tr>
            <td align="right">
                电子邮件：
            </td>
            <td>
                @Html.TextBoxFor(x => x.Recruiter.Email, new { Class = "need_input" })
            </td>
        </tr>
        <tr>
            <td align="right">
                密码：
            </td>
            <td>
                @Html.PasswordFor(x => x.Recruiter.Password, new { Class = "need_input" })
            </td>
        </tr>
        <tr>
            <td align="right">
                重复密码：
            </td>
            <td>
                @Html.Password("RePassword", null, new { Class = "need_input" })
            </td>
        </tr>
        <tr>
            <td align="right">
                单位名称：
            </td>
            <td>
                @Html.TextBoxFor(x => x.Company.CompanyName, new { Class = "need_input" })
            </td>
        </tr>
        <tr>
            <td align="right">
                您的职位：
            </td>
            <td>
                <select>
                    <option></option>
                </select>
            </td>
        </tr>
        <tr>
            <td align="right">
                联系人：
            </td>
            <td>
                @Html.TextBoxFor(x => x.Recruiter.Mobile, new { Class = "need_input" })
            </td>
        </tr>
        <tr>
            <td align="right">
                联系电话：
            </td>
            <td>
                @Html.TextBoxFor(x => x.Recruiter.Phone, new { Class = "need_input" })
            </td>
        </tr>
        <tr>
            <td align="right">
                详细地址：
            </td>
            <td>
                @Html.TextBoxFor(x => x.Company.Address, new { Class = "need_input" })
            </td>
        </tr>
        <tr>
            <td align="right">
                邮编：
            </td>
            <td>
                @Html.TextBoxFor(x => x.Company.PostalCode, new { Class = "need_input" })
            </td>
        </tr>
    </table>
    <div class="line">
    </div>
    <div class="register_btns">
        <button type="submit" class="button">
            <span>立即注册</span>
        </button>
    </div>
    }
</div>
